Skip to content

Upstream#42

Merged
R00tB33rMan merged 1 commit intoFreshSMP:feature/foliafrom
EngineHub:version/7.4.x
Feb 1, 2026
Merged

Upstream#42
R00tB33rMan merged 1 commit intoFreshSMP:feature/foliafrom
EngineHub:version/7.4.x

Conversation

@R00tB33rMan
Copy link
Member

No description provided.

…legacy blocks with air in //generate (#2901)

* In //g, allow overriding non-legacy blocks with air

Previously, it was impossible to override a non-legacy block (i.e. one that was introduced after the switch to string IDs) with air.
This was due to the fact that non-legacy blocks and air had the same type id (0).
This change gives them separate type ids, making it possible to override non-legacy blocks with air.

* Make query functions return type/data values of -1 for non-legacy blocks

This matches the new behaviour of the type/data variables in //generate
@R00tB33rMan R00tB33rMan merged commit 9c8add6 into FreshSMP:feature/folia Feb 1, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants